<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/pages/share/taglib.jsp"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
  <head>
    <base href="<%=basePath%>">
    <title>运城市安全生产隐患排查治理信息系统</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link href="<%=basePath%>/css/style.css" rel="stylesheet" type="text/css"/>
	<script src="<%=basePath%>/js/js.js" type="text/javascript"></script>
	<script type="text/javascript" src="<%=basePath%>/js/jquery-1.7.2.js"></script>
	<script type="text/javascript" src="<%=basePath%>/js/dbdialog/lhgdialog.min.js<%=Util.LHGDIALOG%>"></script>
	<script type="text/javascript" src="<%=basePath%>/js/util.js"></script>
	<script type="text/javascript" src="<%=path%>/js/My97DatePicker/WdatePicker.js" defer="defer"></script><base target="_self" />
	<script type="text/javascript">
		function opdlg(id){
   			infoDialog('yhInfo','隐患详细信息',800,400,'<%=path%>/zczb/_yhShow.action?yhId='+id+'');
		}
		function yhZg(id){
   			infoDialog('yhInfo','隐患详细信息',800,400,'<%=path%>/zczb/big_yhZgShow.action?yhId='+id+'');
		}
	</script>
  </head>
  
 <body>
<div id="allbody">
	<div class="head">
		<iframe src="<%=basePath%>/head.jsp" width="1160" height="218" scrolling="no" frameborder="0" ></iframe>
	</div>
	<div class="con">
		<div class="left">
			<div class="left_info">
				<iframe src="<%=basePath%>/left_info.jsp" width="244" height="250" id="iframeleft_top"  onLoad="iFrameHeight()"  scrolling="no" frameborder="0" ></iframe>
			</div>
			<div class="left_link">
				<iframe src="<%=basePath%>/zczb_left.jsp" width="244" height="200" id="iframeleft_link"  onLoad="iFrameHeight2()" scrolling="no" frameborder="0" ></iframe>
			</div>
		</div>
		<div class="right">
			<div class="right_map">
				<div style="float: left;"><a href="<%=basePath%>/corp/index.action">首页</a> &gt; <span><a href="<%=basePath%>/zczb/_index.action">自查自报</a></span>&gt; <span>重大隐患</span></div>
			</div>
			<div class="right_list">
				<div class="serarch_set">
					<form action="<%=basePath%>/zczb/big_list.action" method="post" name="form1">
					<fieldset>
						<legend>查询条件</legend>
							<label>发现时间：</label><input name="cBtime" id="time1" class="Wdate" type="text" value="${cBtime }" readonly="readonly" onClick="WdatePicker({maxDate:'#F{$dp.$D(\'time2\')}'})"/>--<input name="cEtime" id="time2" class="Wdate" readonly="readonly" type="text" value="${cEtime }" onClick="WdatePicker({minDate:'#F{$dp.$D(\'time1\')}'})"/> &nbsp;&nbsp;<input type="submit" value=" 搜 索 " class="input_link" name="btnsx">
						
					</fieldset>
					</form>
				</div>
				<table border="0" cellpadding="0" cellspacing="0" align="center" class="infolist">
					<tr class="cz">
						<th width="5%">序号</th>
						<th width="10%">发现时间</th>
						<th width="55%">隐患基本情况</th>
						<th width="10%">是否整改</th>
						<th width="10%">状态</th>
						<th width="10%" style="border-right:none">操作</th>
					</tr>
					<s:if test="%{objList.size>0}">
					  	<s:iterator id="obj" value="objList" status="x">
					  		<tr class="cz">
								<td>${x.index+1}</td>
								<td><s:date name="%{#obj.yhFxTime}" format="yyyy-MM-dd"/> </td>
								<td>${obj.yhQk }</td>
								<td>${obj.yhIsZg==0?'否':'是' }</td>
								<td>
									<s:if test="%{#obj.yhStatus==1}">县(市、区)、开发区行业审核</s:if>
					     			<s:elseif test="%{#obj.yhStatus==2}">县(市、区)、开发区安委会审核</s:elseif>
					     			<s:elseif test="%{#obj.yhStatus==3}">市安委会审核</s:elseif>
					     			<s:elseif test="%{#obj.yhStatus==96}">已确认</s:elseif>
					     			<s:elseif test="%{#obj.yhStatus==97}">已挂牌</s:elseif>
					     			<s:elseif test="%{#obj.yhStatus==98}">申请销号</s:elseif>
					     			<s:elseif test="%{#obj.yhStatus==99}">已销号</s:elseif>
								</td>
								<td>
									<a href="javascript:void(0)" onclick="opdlg('${obj.id }');" title="点击查看隐患信息">查看</a>
									<s:if test="%{#obj.yhIsZg==1}">
										<a href="javascript:void(0)" onclick="yhZg('${obj.id }');" title="点击查看隐患整改信息">整改信息</a>
									</s:if>
								</td>
							</tr>
					  	</s:iterator>						  
					</s:if>
					<s:else>
					 	<tr>
							<td colspan="6" height="40" style="text-align:center">
							  	无重大隐患信息
							</td>
						</tr>
					</s:else>
				</table>
				<div class="page">
					<jsp:include flush="true" page="../share/fenye.jsp">
			       		<jsp:param name="url4page" value="/zczb/big_list.action" />
		         	</jsp:include>
				</div>
			</div>
		</div>
	</div>
	<div class="foot">
		<iframe src="<%=basePath%>/foot.html" width="1160" height="89" scrolling="no" frameborder="0" ></iframe>
	</div>
</div>
</body>
</html>
